#pragma once
#ifndef _RENDERER_FACTORY_H_
#define _RENDERER_FACTORY_H_

#include "Renderer.h"
#include "EasyXRenderer.h"
#include <string>

class RendererFactory {
public:

    static Renderer* CreateRenderer(const std::string& type) {
        if (type == "easyx") return new EasyXRenderer();
        //else return nullptr;
    }
};


#endif
